package org.geektimes.projects.user.validator.bean.validation;

import javax.validation.Constraint;
import java.lang.annotation.*;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(validatedBy = IdValidAnnotationValidator.class)
public @interface IdValid {

    String message() default "无效的ID";
}
